# 学员信息包含：姓名、性别、⼿机号；
# 添加 __str__ 魔法⽅法，⽅便查看学员对象信息
class Student(object):

    def __init__(self, name, gender, tel):
        self.name = name
        self.gender = gender
        self.tel = tel
        pass

    def __str__(self):
        return f'姓名:{self.name},性别:{self.gender},号码:{self.tel}'
    pass

# class A(object):
#     a = 0
#     def __init__(self):
#         self.b = 1
# aa = A()
# # 返回类内部所有属性和⽅法对应的字典
# print(A.__dict__)
# # 返回实例属性和值组成的字典
# print(aa.__dict__)
